﻿#if("$!lxw_edit" == "1")
$!body


<span id="lxw_2015_end" style="display:none"></span>
<!-- .end. -->

<div id="adcover" class="d_z"></div>
<div id="adguide" class="d_z"><img class="d_z" src="/content/img/guide1.png"></div>

<script>
    var g_code = "$!u";
</script>


<link rel="stylesheet" href="/Content/ad/ad.css?var=$!jsver" type="text/css"/>


<script src="/Content/js/jquery.min.js"></script>

#if("$!jiami"=="1")
<script src="/Content/ad/ad_tool_delete.js?var=$!jsver"></script>
<script src="/Content/ad/ad_tool_event.js?var=$!jsver"></script>
<script src="/Content/ad/ad_tool_fun.js?var=$!jsver"></script>
<script src="/Content/ad/ad_tool_guanggao.js?var=$!jsver"></script>
<script src="/Content/ad/ad_tool_quxiao.js?var=$!jsver"></script>
<script src="/Content/ad/ad_tool_tupian.js?var=$!jsver"></script>
<script src="/Content/ad/ad_tool_save.js?var=$!jsver"></script>
<script src="/Content/ad/ad_tool_shipin.js?var=$!jsver"></script>
<script src="/Content/ad/ad_tool_wenzi.js?var=$!jsver"></script>
<script src="/Content/ad/ad_tool_yinyue.js?var=$!jsver"></script>
<script src="/Content/ad/ad_main.js?var=$!jsver"></script>
#else
<script src="/Content/ad/ad_main_min.js?var=$!jsver"></script>
#end
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>

#parse("/default/fx.htm")


<script>
$(function () {
    $("iframe").each(function () {
        try {
            var obj = $(this);
            var iframe = obj[0];
            var sw = iframe.width;
            var sh = iframe.height;
            var ow = document.body.clientWidth * 0.9;
            var oh = sh * ow / sw * 0.9;

            iframe.style = "";
            iframe.width = ow;
            iframe.height = oh;

            var src = iframe.src;
            var aa = src.split('&');
            var str = '';

            for (var i = 0; i < aa.length; i++) {
                if (aa[i].match(/width/)) {
                    aa.splice(i, 1)
                }
                if (aa[i].match(/height/)) {
                    aa.splice(i, 1)
                }
                str += (aa[i] + '&');
            }
            iframe.src = str.substring(0, str.length - 1)

        } catch (e) { }
    });

    var ua = navigator.userAgent;
    //if (ua.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)) {
        var articleImg = document.querySelectorAll('#js_content img');
       
        for (var i = 0; i < articleImg.length; i++) {
            var art = $(articleImg[i]);
            if (art.attr('url')) {
                art.attr('src', art.attr('url'));                
            }
            //设置大小
            art.width("100%");
        }
    //}
});
</script>


#else
<!DOCTYPE html>
<html>
<head>
    <base href="/">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
    <meta name="format-detection" content="telephone=no">
    <meta name="MobileOptimized" content="640" />
</head>
<body>
    <div style="width: 100%; text-align: center; padding-top: 60px;">
        <font style="font-size: 18px; font-weight: bold">
您无法编辑别人的文章<br/>3秒后跳转到文章预览界面...
</font>
    </div>
    <script>
        function warting() {
            location.href = "/s?u=$!u";
        }
        setTimeout("warting()", 3000);
    </script>
</body>
</html>
#end